package com.charm.information.api

import com.charm.codes.nethard.RetrofitFactory

/**
 * Created by tools on 2018/1/3.
 */
class InformationServiceManager {
    companion object {
        private var service: InformationService? = null
        @Synchronized
        fun informationService(): InformationService = service?.let { service }
                ?: RetrofitFactory.build("http://120.76.205.241:8000").create<InformationService>(InformationService::class.java!!)
    }

}